﻿namespace RStudio.UIFramwork
{
    /// <summary>
    /// 
    /// </summary>
    public class ComponentDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public UnityEngine.Component Component;

        /// <summary>
        /// 
        /// </summary>
        public string Name;

        /// <summary>
        /// 
        /// </summary>
        public string NodePath;


        public ComponentDetail() { }

        public ComponentDetail(UnityEngine.Component component)
        {
            Component = component;
            Name = component.name;
        }
    }
}
